Add tax columns to orders and currency/test filter to payments#16
Add tax columns to orders and currency/test filter to payments#16
Conversation
- stg_jaffle_shop__orders: add tax_amount (8% of order_total) and gross_total (order_total + shipping + tax - discounts) - stg_stripe__payments: add currency column (USD default) and filter out test transactions (billing_email @test.com) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Impact Analysis ReportAnalyzing 2 changed model(s): stg_jaffle_shop__orders, stg_stripe__payments ============================================================ stg_jaffle_shop__orders============================================================ What ChangedTwo new columns, Impact SummaryThe modification affects multiple downstream tables in various schemas, which are used in business-critical dashboards and reports. This requires notifying several stakeholders to ensure integration accuracy and reliability. Affected Assets
Risk Assessment
Recommended Actions
============================================================ stg_stripe__payments============================================================ What ChangedThe Impact SummaryThe changes primarily affect downstream models and dashboards that rely on the Affected Assets
Risk Assessment
Recommended Actions
============================================================ Summary============================================================
|
Summary
tax_amount(estimated at 8% of order total) andgross_total(order_total + shipping + tax - discounts) columnscurrencycolumn (defaults to USD) and filters out test transactions (billing_emailmatching@test.com)_schema.ymlwith descriptions for the new columnsImpact
These staging model changes propagate downstream to:
int_orders__enriched(joins both staging models)fct_orders(selects from enriched intermediate)fct_daily_revenue/fct_monthly_revenue(aggregate from enriched orders)Test plan
dbt buildagainst demo database to validate SQL compilestax_amountandgross_totalcalculations are correct🤖 Generated with Claude Code